package com.pencilisland.pay.api.bean.wxpay;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "xml")
public class WxpayCallbackNotifyReq {
	/**
	 * 应用ID
	 */
	@XmlElement(name = "appid")
	private String appId;
	/**
	 * 商户号
	 */
	@XmlElement(name = "mch_id")
	private String mchId;
	/**
	 * 设备号
	 */
	@XmlElement(name = "device_info")
	private String deviceInfo;
	/**
	 * 随机字符串
	 */
	@XmlElement(name = "nonce_str")
	private String nonceStr;
	/**
	 * 签名
	 */
	@XmlElement(name = "sign")
	private String sign;

	/**
	 * 通信结果
	 */
	@XmlElement(name = "return_code")
	private String returnCode;
	/**
	 * 业务结果
	 */
	@XmlElement(name = "result_code")
	private String resultCode;

	/**
	 * 用户标识
	 */
	@XmlElement(name = "openid")
	private String openId;

	/**
	 * 总金额
	 */
	@XmlElement(name = "total_fee")
	private Integer totalFee;

	/**
	 * 微信支付订单号
	 */
	@XmlElement(name = "transaction_id")
	private String transactionId;

	/**
	 * 商户订单号
	 */
	@XmlElement(name = "out_trade_no")
	private String outTradeNo;

	/**
	 * 商家数据包
	 */
	@XmlElement(name = "attach")
	private String attach;
	/**
	 * 支付完成时间
	 */
	@XmlElement(name = "time_end")
	private String timeEnd;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Integer getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getTimeEnd() {
		return timeEnd;
	}

	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

}
